<?php
	require "../controller/ctrl-main.php";
?>

<!DOCTYPEhtml>
<html>
	<head>
		<title>
			Candy Shop
		</title>
		<meta http-equiv="content-type" content="text/html"; charset="utf-8">
		<link href="../style/style.css" rel="stylesheet" type="text/css" />
		<link href="../style/bs/css/bootstrap.css" rel="stylesheet" type="text/css" />
	</head>
	
	<body>
		<div  class="container" class="row">
			<div class="col-md-2">
				<div class="nav">
					<a href="#">Корзина</a>
					<ul>
						<li>Книги</li>
						<li>Переодика</li>
						<li>Фото</li>
					</ul>
					<a href="#">Корзина</a>
				</div>
			</div>
			
			<div class="col-md-8">
				<div class="filters">
					<form action="#" name="filter-form" method="POST">
						<select name="sort">
							<option value="Order A-Z">Order A-Z<option/>
							<option value="Order Z-A"/>Order Z-A<option/>
							<option value="Date 0-9"/>Date 0-9<option/>
							<option value="Date 9-0"/>Date 9-0<option/>
						<select>
					</form>
				</div>
			
				<div class="products">
					<?php foreach ($data as $ent){ ?>
						<div>
							<?php echo $ent['name'], $ent['description'] ?>
						</div>
					<?php } ?>
				</div>
			</div>
			<div class="col-md-2">
			fdsfds
			</div>
		</div>
	</body>
</html>